package com.projectnection.server.database.entities;

import java.util.List;

import com.projectnection.server.model.Entity;

/**
 * 
 * @Architecture
 */
public class EntitiesDatabaseImplementation {

	public Entity getEntity(String entityID) {

		return GetEntity.get(entityID);
	}

	public List<Entity> listEntities() {

		return ListEntities.list();
	}

	public void saveEntity(Entity entity) {

		SaveEntity.save(entity);
	}

	public void connectEntity(Entity entity, String entityID) {

		ConnectEntity.save(entity, entityID);
	}
}
